package com.chenqi.myblog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenqi.myblog.model.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description:
 * @program: myblog
 * @author: ChenQi
 * @create: 2021-02-2021/2/2-10-11
 */
public interface TypeMapper extends BaseMapper<Type> {
    /**
     * 首页显示分类
     * @return
     */
    List<Type> findSomeType(@Param("start") Integer start,@Param("rows") Integer rows);
}
